package bill.study.serialization;

import java.io.Serializable;

public class EmployeeBean implements Serializable{
	private Employee employee;
	public Employee getEmployee() {
		return employee;
	}
	EmployeeBean(){
	}
	EmployeeBean(Employee employee){
		this.employee = employee;
	}
	@Override
	public String toString(){
		return this.employee==null? "no employee":this.employee.toString();
	}
}
